import { createApp  } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
import axios from 'axios';
import VueAxios from 'vue-axios'

import '@/styles/index.scss'


// 定义特性标志 在vue.config.js中已定义
// window.__VUE_PROD_DEVTOOLS__ = false;
// window.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = false;

app.config.globalProperties.$axios = axios;

app.use(store).use(router).use(ElementPlus).use(VueAxios, axios).mount('#app')
